package cc.shacocloud.luanniao.core.service.oss

/**
 * 没有这样的存储桶异常
 *
 * @author 思追(shaco)
 */
class NoSuchBucketException : OSSException {

    val bucket: String

    constructor(bucket: String) {
        this.bucket = bucket
    }

    constructor(message: String?, bucket: String) : super(message) {
        this.bucket = bucket
    }

    constructor(message: String?, cause: Throwable?, bucket: String) : super(message, cause) {
        this.bucket = bucket
    }

    constructor(bucket: String, cause: Throwable?) : super(cause) {
        this.bucket = bucket
    }
}
